<template>
    <div>
      <div class="cart">
        <!--<a href="javascript:;" @click="goCart"></a>-->
        <router-link to="/cart" @click="goCart"></router-link>
      </div>
    </div>
</template>

<script>

    export default {
        data() {

            return {}
        },
        methods: {
          goCart(){
            this.$emit('goCart')
          }
        }
    }
</script>

<style scoped rel='stylesheet/scss' lang='scss'>
  .cart a {
    left: 20px;
    background: #1c1e25 url("../common/images/cart-i.png") no-repeat center center;
  }
</style>
